Get All Chats
AutomatR.MicrosoftTeams.Activities.GetAllChats
The "Get All Chats" activity in AutomatR for Microsoft Teams retrieves all conversations among all chats for a specified user. This activity facilitates access to chat conversations, enhancing the capabilities of automation workflows focused on Microsoft Teams integration.
Properties
Name | Description |
---|---|
Input | |
Email ID | Specifies the email address associated with the user account for which chat conversations need to be retrieved. String variables containing the email address. |
Misc | |
Display Name | The display name of the activity. A display name is automatically generated when you indicate a target. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get All Chats" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs a collection page (Microsoft.Graph.ICollectionPage<Chat> ) containing chat conversations among all chats for the specified user. This can be further utilized in the workflow for processing chat data. |
How to use:
- Drag and drop the "Get All Chats" activity onto the workflow.
- Configure the properties by specifying the email address for the user account.
- Optionally, configure the delay.
- Execute the workflow to retrieve all chat conversations for the specified user.
Example: Consider an example where the "Get All Chats" activity is used to retrieve all chat conversations for a user with the email address "user@example.com":
Get All Chats:
Email ID: "user@example.com"
Delay: 1
Result: allChatsCollection
In this example, the activity retrieves all chat conversations for the user with the email address "user@example.com" with a delay of 1 second. The resulting collection page (allChatsCollection
) contains information about the chat conversations, which can be further processed in the workflow.